<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>大卫杜夫 | 雪茄</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="shortcut icon" type="image/ico" href="http://davidoff.com/favicon.ico" />
	<link href="../static/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
	<link href="../static/css/main.css" rel="stylesheet">
	<link href="../static/css/en.css" rel="stylesheet">
	<link href="../static/css/reset.css" rel="stylesheet">
</head>

<body>
	<div id="header"></div>
	<section id="page-toolbar" class="page_wrapper" style="margin-bottom:10px">
		<a href="javascript:history.go(-1)" class="bread"><span>返回</span></a>
	</section>
	<div  id="wp">
			<script id="tpl" type="text/html">
	<div class="main_cont">
			<div class="top-banner">
				<section class="kv">
					<a href="javascript:void(0)"><div style="background-image:url(<%:=list.IMG_URL%>)">&nbsp;</div></a>
				</section>
			</div>
	</div>
	<div>
		<section id="beautiful-time">
			<section id="single-event" class="beautiful-time">
				<div class="left">
					<div class="wrapper">
						<h3 class="categories">
							<%if(list.NEWS_LABEL){%><%:=list.NEWS_LABEL%><%}%>
						</h3>
						<h2><%if(list.NEWS_NAME){%><%:=list.NEWS_NAME%><%}%></h2>
						<h3><%if(list.NEWS_AUTHOR){%><%:=list.NEWS_AUTHOR%><%}%></h3>
					</div>
					<span class="post-date"><%:=list.UPDATE_DTM%></span>

				</div>
				<div class="right"><span class="date-header"></span><%:=list.NEWS_REMARK%>
				</div>
			</section>
		</section>
	</div>
</script>
</div>
	<!--footer start  -->
	<div id="footer"></div>
	<!--footer end  -->
	<script type="text/javascript" src="../static/lib/fancyBox-2.1.5/lib/jquery-1.10.1.min.js"></script>
	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>
	<script src="../static/lib/bootstrap/dist/js/bootstrap.min.js"></script>
	<script src="../static/js/common.js"></script>
	<script src="../static/js/template.js"></script>
	<script>
			$(function () {
				let params = {
					"cmd":"news.get",
					"param": {
						"NEWS_ID": getUrlParam('NEWS_ID')
					}
				}
				$.ajax({
					type: "POST",
					url: "http://davidoff.gemdesign.cn/CMS/api/CMS",
					contentType: "application/json; charset=utf-8",
					data: JSON.stringify(params),
					dataType: "json",
					success: function (data) {
						var NewsInfo = data.NewsInfo
						var tpl = document.getElementById('tpl').innerHTML;
						var html = template(tpl, {
							list: NewsInfo
						});
						document.getElementById('wp').innerHTML = html;
					},
					error: function (message) {
						alert(message)
					}
				});
			});

		</script>
</body>
<style>
	html {
		font-size: 14px;
	}

	.kv {
		padding-bottom: 40px;
	}

</style>

</html>
